package service;

import exception.LoginException;
import pojo.Knowledge;
import pojo.User;
import pojo.vo.Message;

/**
 * @author wq3stone
 */
public interface UserService {
    Message login(String username, String password);
    Message register(String username,String password1, String password2);
    Message changePassword(String username, String origin, String now_password);
}
